package com.bruce.demo.springbootstarter.anno;


import com.bruce.demo.springbootstarter.config.DemoSelector;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author Lenovo
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(DemoSelector.class)
public @interface EnableDemo {
    boolean enable() default
            true;
}
